package com.zhongen.oa.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseMapper;
import com.zhongen.oa.entity.ProjectBasicInfoEntity;
import com.zhongen.oa.entity.ProjectContractEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashSet;

@Mapper
public interface ProjectContractMapper extends MPJBaseMapper<ProjectContractEntity> {

	IPage<ProjectContractEntity> queryContractInfoList(Page page,
			@Param("entity") ProjectContractEntity projectContract, @Param("deptIds") HashSet<Long> deptIds);

	ProjectContractEntity getContractInfoById(@Param("id") Long id);

}
